package com.astar.service;

import com.astar.entity.CustomMenu;
import com.astar.entity.Menu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 菜单权限表 服务类
 * </p>
 *
 * @author jobob
 * @since 2020-01-17
 */
public interface IMenuService extends IService<Menu> {

    List<Menu> selectAll();

    Menu selectOne(Integer id);

    CustomMenu selectOne1(Integer id);

    List<CustomMenu> selectChile(Integer parentId);

    int insert(Menu menu);

    List<CustomMenu> selectMenus();

    int update(Menu menu);



}
